<?php

namespace app\models;

use think\Db;
use think\Model;

class HallTrade extends Model
{
    protected $pk = 'id';
    protected $autoWriteTimestamp = 'datetime';
    protected $createTime = 'created';
    protected $defaultSoftDelete = 0;

    public function GetStatusNameAttr($value, $data)
    {
        return config()['config']['hall'][$data['status']] ?? '';
    }
}
